package com.mes.cloud.dto;

import com.mes.cloud.util.ExcelAttribute;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <bme_bc_report基础表>
 *
 * @author xhy
 * @version 1.0
 * @date 2019/06/11 16:00
 */
@ApiModel(value = "BmeBcReportDTO", description = "BcReportDTO信息")
@Data
public class BmeBcReportDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号", dataType = "String")
    @ExcelAttribute(name = "编号", column = "A")
    private String id;

    /**
     * 是否启用 0:禁用，1:启用
     */
    @ApiModelProperty(value = "是否启用 0:禁用，1:启用", dataType = "Integer")
    @ExcelAttribute(name = "是否启用", column = "B")
    private Integer isEnable;

    /**
     * 状态：0=普通，1=禁用
     */
    @ApiModelProperty(value = "状态：0=普通，1=禁用", dataType = "Integer")
    @ExcelAttribute(name = "状态", column = "C")
    private Integer status;

    /**
     * 数字名称
     */
    @ApiModelProperty(value = "数字名称", dataType = "String")
    @ExcelAttribute(name = "数字名称", column = "D")
    private String name;

    /**
     * 分类
     */
    @ApiModelProperty(value = "分类", dataType = "String")
    @ExcelAttribute(name = "分类", column = "E")
    private String type;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", dataType = "String")
    @ExcelAttribute(name = "备注", column = "F")
    private String ds;
    /**
     * 取值BC
     */
    @ApiModelProperty(value = "取值BC", dataType = "String")
    @ExcelAttribute(name = "取值BC", column = "G")
    private String reportbc;
    /**
     * 取值BC的名称
     */
    @ApiModelProperty(value = "取值BC的名称", dataType = "String")
    @ExcelAttribute(name = "取值BC的名称", column = "H")
    private String reportnm;
    /**
     * 赋值字段
     */
    @ApiModelProperty(value = "赋值字段", dataType = "String")
    @ExcelAttribute(name = "赋值字段", column = "I")
    private String setfield;
    /**
     * 取字段
     */
    @ApiModelProperty(value = "取字段", dataType = "String")
    @ExcelAttribute(name = " 取字段", column = "J")
    private String getfield;
    /**
     * 过滤条件
     */
    @ApiModelProperty(value = "过滤条件", dataType = "String")
    @ExcelAttribute(name = " 过滤条件", column = "K")
    private String condition;
    /**
     * 导出的字段属性,样式为[a,b,c]的数组类型
     */
    @ApiModelProperty(value = "导出的字段属性", dataType = "String")
    @ExcelAttribute(name = " 导出的字段属性", column = "L")
    private String reportfield;
    /**
     * 上传的EXCEL模板的路径
     */
    @ApiModelProperty(value = "上传的EXCEL模板的路径", dataType = "String")
    @ExcelAttribute(name = " 上传的EXCEL模板的路径", column = "M")
    private String tmplatelurl;
    /**
     * 父编号
     */
    @ApiModelProperty(value = "父编号", dataType = "String")
    @ExcelAttribute(name = " 父编号", column = "N")
    private String pid;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", dataType = "String")
    @ExcelAttribute(name = "创建人", column = "O")
    private String crtby;

    /**
     * 创建日期
     */
    @ApiModelProperty(value = "创建日期", dataType = "Timestamp")
    @ExcelAttribute(name = "创建日期", column = "P")
    private Timestamp crtdate;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人", dataType = "String")
    @ExcelAttribute(name = "修改人", column = "Q")
    private String updby;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", dataType = "Timestamp")
    @ExcelAttribute(name = "修改时间", column = "R")
    private Timestamp upddate;
}
